﻿using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Linq;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        /*Game myGame1 = new Game { Title = "Tag immagini", Description = "Gioco di tag immagini" };
        GaloapDatabase.Database.AddToGame(myGame1);
        //Loading Question Table
        Question myQuestion1 = new ImageTagQuestion { Game = myGame1, Level = 1 };
        myQuestion1.Document.Add(myImageDocument1);
        GaloapDatabase.Database.AddToQuestion(myQuestion1);
        Question myQuestion2 = new ImageTagQuestion { Game = myGame1, Level = 1 };
        myQuestion2.Document.Add(myImageDocument2);
        GaloapDatabase.Database.AddToQuestion(myQuestion2);
        Question myQuestion3 = new ImageTagQuestion { Game = myGame1, Level = 1 };
        myQuestion3.Document.Add(myImageDocument3);
        GaloapDatabase.Database.AddToQuestion(myQuestion3);
        Question myQuestion4 = new ImageTagQuestion { Game = myGame1, Level = 1 };
        myQuestion4.Document.Add(myImageDocument4);
        GaloapDatabase.Database.AddToQuestion(myQuestion4);

        //Save the new Changes*/
       // Galoap.UnitTest.Storage.DatabaseFill.Fill();
    }
}
